package com.arwtec.controller;

import com.arwtec.feign.FeignConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @Autowired
    FeignConfig feignConfig;
    @RequestMapping("consumer")
    @LoadBalanced
    public String test1(){
        return feignConfig.test1();
    }
}
